home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2230 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: comma.rhein.de!yaps!arno
  2. From: arno@yaps.rhein.de (Arno Eigenwillig)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Something goofy with fscanf(%s) ??
  5. Message-ID: <MhW-x*ayf@yaps.rhein.de>
  6. Date: Sun, 28 Jan 1996 20:58:24 +0100
  7. References: <4ee66r$ffk@vixen.cso.uiuc.edu>
  8. Organization: Yet Another Private Site in Meckenheim, Germany
  9. X-Copyright: This article may not be distributed on a CD-ROM
  10.  or in printed form without prior written consent of the author.
  11. X-Newsreader: Arn V 1.04
  12.  
  13. In article <4ee66r$ffk@vixen.cso.uiuc.edu>,
  14.      I-am-unwilling-to-configure-my-newsreader writes:
  15.  
  16. >    Now what this says to me that when fscanf() hits the %22 in the string
  17. > it's somehow interpreted funny and thus the second line is read back in as
  18. > in the second line.
  19.  
  20. fscanf() having problems with % would be rather strange. But how do
  21. you do your output? Make sure you don't pass arbitrary strings as 2nd
  22. argument to fprintf()...
  23.  
  24. -- __
  25. __/// Arno Eigenwillig /\ <arno@yaps.rhein.de> \/ PGP key available.
  26. \XX/   V+49-2225-5870  /\ <Arnooo @ #amigager> \/ MIME 8bit welcome.
  27.